package com.woniuxy.store.client.param;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class AddMemberLevelParam {



    /**
     * 等级
     */
    @NotNull
    @Min(1)
    private Integer level;

    /**
     * 升级所需分数
     */

    @NotNull
    @Min(1)
    private Integer upgradeScore;

    /**
     * 本等级对应折扣
     */
    @NotNull
    @Max(1)
    private Double levelDiscount;

}
